package com.soufang.soufangdemo.repository;

import com.soufang.soufangdemo.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<User, Long> {
    User findByName(String name);

    User findByEmail(String username);

    User findByPhoneNumber(String username);
}
